<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mpf_codec_descriptor.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_342be8fa773ff0594874056fe107febd.html">mpf</a></li><li class="navelem"><a class="el" href="dir_3c1f389eca1f441ba1c98a8d099f902a.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mpf_codec_descriptor.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>MPF Codec Descriptor.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;apr_tables.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="apt__string_8h_source.html">apt_string.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mpf_8h_source.html">mpf.h</a>&quot;</code><br/>
</div>
<p><a href="mpf__codec__descriptor_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__codec__frame__t.html">mpf_codec_frame_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aa44f726119882ae707cd4fce9f28fa6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#aa44f726119882ae707cd4fce9f28fa6e">CODEC_FRAME_TIME_BASE</a>&#160;&#160;&#160;10</td></tr>
<tr class="separator:aa44f726119882ae707cd4fce9f28fa6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25065cd833bcfecfb404093aed3edaca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a25065cd833bcfecfb404093aed3edaca">BYTES_PER_SAMPLE</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a25065cd833bcfecfb404093aed3edaca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef24191d7d337cb0e08e96ae2fe80e16"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#aef24191d7d337cb0e08e96ae2fe80e16">BITS_PER_SAMPLE</a>&#160;&#160;&#160;16</td></tr>
<tr class="separator:aef24191d7d337cb0e08e96ae2fe80e16"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aa1f91318f8392bfb8b18577a1aa587f7"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#aa1f91318f8392bfb8b18577a1aa587f7">mpf_codec_descriptor_t</a></td></tr>
<tr class="separator:aa1f91318f8392bfb8b18577a1aa587f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1feb7e95c209998fc36e57c28f0abbc0"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a1feb7e95c209998fc36e57c28f0abbc0">mpf_codec_attribs_t</a></td></tr>
<tr class="separator:a1feb7e95c209998fc36e57c28f0abbc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf1017fbd809a4f1c15c1843ec99b41"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#aacf1017fbd809a4f1c15c1843ec99b41">mpf_codec_list_t</a></td></tr>
<tr class="separator:aacf1017fbd809a4f1c15c1843ec99b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab137ce9e9fced0a1c069b8c126b326ff"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#ab137ce9e9fced0a1c069b8c126b326ff">mpf_codec_capabilities_t</a></td></tr>
<tr class="separator:ab137ce9e9fced0a1c069b8c126b326ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1268328eedde3afe4fe1367c8fb8f2e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structmpf__codec__frame__t.html">mpf_codec_frame_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#ad1268328eedde3afe4fe1367c8fb8f2e">mpf_codec_frame_t</a></td></tr>
<tr class="separator:ad1268328eedde3afe4fe1367c8fb8f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab2dc1cf2cfb1292305ac54ed234c435c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#ab2dc1cf2cfb1292305ac54ed234c435c">mpf_sample_rates_e</a> { <br/>
&#160;&#160;<b>MPF_SAMPLE_RATE_NONE</b> = 0x00, 
<b>MPF_SAMPLE_RATE_8000</b> = 0x01, 
<b>MPF_SAMPLE_RATE_16000</b> = 0x02, 
<b>MPF_SAMPLE_RATE_32000</b> = 0x04, 
<br/>
&#160;&#160;<b>MPF_SAMPLE_RATE_48000</b> = 0x08, 
<b>MPF_SAMPLE_RATE_SUPPORTED</b>
<br/>
 }</td></tr>
<tr class="separator:ab2dc1cf2cfb1292305ac54ed234c435c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a23dbae48ae42c2765ddd44f46088d470"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a23dbae48ae42c2765ddd44f46088d470">mpf_codec_lpcm_descriptor_create</a> (apr_uint16_t sampling_rate, apr_byte_t channel_count, apr_pool_t *pool)</td></tr>
<tr class="separator:a23dbae48ae42c2765ddd44f46088d470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bbc4e46e05bf74602d903952e485791"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a9bbc4e46e05bf74602d903952e485791">mpf_codec_descriptor_create_by_capabilities</a> (const <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *capabilities, const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *peer, apr_pool_t *pool)</td></tr>
<tr class="separator:a9bbc4e46e05bf74602d903952e485791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6828104475f89ac975dc37e186ce4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#afb6828104475f89ac975dc37e186ce4a">mpf_codec_descriptors_match</a> (const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *descriptor1, const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *descriptor2)</td></tr>
<tr class="separator:afb6828104475f89ac975dc37e186ce4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a568f4f4a4c2eb6135c03404228c6b484"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a568f4f4a4c2eb6135c03404228c6b484">mpf_codec_lpcm_descriptor_match</a> (const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *descriptor)</td></tr>
<tr class="separator:a568f4f4a4c2eb6135c03404228c6b484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5874581c1618eee078361d13c408b289"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a5874581c1618eee078361d13c408b289">mpf_codec_descriptor_match_by_attribs</a> (<a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *descriptor, const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *static_descriptor, const <a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a> *attribs)</td></tr>
<tr class="separator:a5874581c1618eee078361d13c408b289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9262a4d027b9ec4a21842b3b827a418"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#ab9262a4d027b9ec4a21842b3b827a418">mpf_codec_default_capabilities_add</a> (<a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *capabilities)</td></tr>
<tr class="separator:ab9262a4d027b9ec4a21842b3b827a418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8dd40b5cef571ef91acb46620c81b20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#af8dd40b5cef571ef91acb46620c81b20">mpf_codec_list_descriptor_find</a> (const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list, const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *descriptor)</td></tr>
<tr class="separator:af8dd40b5cef571ef91acb46620c81b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab80cacb3acd14d72c1742e2951f2611"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#aab80cacb3acd14d72c1742e2951f2611">mpf_codec_list_match</a> (<a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list, const <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *capabilities)</td></tr>
<tr class="separator:aab80cacb3acd14d72c1742e2951f2611"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd8feedd261270c77a169f1a1210f675"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#acd8feedd261270c77a169f1a1210f675">mpf_codec_lists_intersect</a> (<a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list1, <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list2)</td></tr>
<tr class="separator:acd8feedd261270c77a169f1a1210f675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b667049688dea09f5ddbe343f99dd28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#a0b667049688dea09f5ddbe343f99dd28">mpf_codec_lists_compare</a> (const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list1, const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *codec_list2)</td></tr>
<tr class="separator:a0b667049688dea09f5ddbe343f99dd28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d4eb08164aec53b002aed55af2aa4d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__codec__descriptor_8h.html#af2d4eb08164aec53b002aed55af2aa4d">mpf_sample_rate_mask_get</a> (apr_uint16_t sampling_rate)</td></tr>
<tr class="separator:af2d4eb08164aec53b002aed55af2aa4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>MPF Codec Descriptor. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="aef24191d7d337cb0e08e96ae2fe80e16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BITS_PER_SAMPLE&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Bits per sample for linear pcm </p>

</div>
</div>
<a class="anchor" id="a25065cd833bcfecfb404093aed3edaca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BYTES_PER_SAMPLE&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Bytes per sample for linear pcm </p>

</div>
</div>
<a class="anchor" id="aa44f726119882ae707cd4fce9f28fa6e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CODEC_FRAME_TIME_BASE&#160;&#160;&#160;10</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec frame time base in msec </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a1feb7e95c209998fc36e57c28f0abbc0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a> <a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec attributes declaration </p>

</div>
</div>
<a class="anchor" id="ab137ce9e9fced0a1c069b8c126b326ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec capabilities declaration </p>

</div>
</div>
<a class="anchor" id="aa1f91318f8392bfb8b18577a1aa587f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec descriptor declaration </p>

</div>
</div>
<a class="anchor" id="ad1268328eedde3afe4fe1367c8fb8f2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structmpf__codec__frame__t.html">mpf_codec_frame_t</a> <a class="el" href="structmpf__codec__frame__t.html">mpf_codec_frame_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec frame declaration </p>

</div>
</div>
<a class="anchor" id="aacf1017fbd809a4f1c15c1843ec99b41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec list declaration </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ab2dc1cf2cfb1292305ac54ed234c435c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="mpf__codec__descriptor_8h.html#ab2dc1cf2cfb1292305ac54ed234c435c">mpf_sample_rates_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Supported sampling rates </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab9262a4d027b9ec4a21842b3b827a418"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_default_capabilities_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *&#160;</td>
          <td class="paramname"><em>capabilities</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add default (linear PCM) capabilities </p>

</div>
</div>
<a class="anchor" id="a9bbc4e46e05bf74602d903952e485791"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>* mpf_codec_descriptor_create_by_capabilities </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *&#160;</td>
          <td class="paramname"><em>capabilities</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>peer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create codec descriptor by capabilities </p>

</div>
</div>
<a class="anchor" id="a5874581c1618eee078361d13c408b289"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_descriptor_match_by_attribs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>static_descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__attribs__t.html">mpf_codec_attribs_t</a> *&#160;</td>
          <td class="paramname"><em>attribs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Match codec descriptor by attribs specified </p>

</div>
</div>
<a class="anchor" id="afb6828104475f89ac975dc37e186ce4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_descriptors_match </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Match two codec descriptors </p>

</div>
</div>
<a class="anchor" id="af8dd40b5cef571ef91acb46620c81b20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>* mpf_codec_list_descriptor_find </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find matched descriptor in codec list </p>

</div>
</div>
<a class="anchor" id="aab80cacb3acd14d72c1742e2951f2611"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_list_match </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__capabilities__t.html">mpf_codec_capabilities_t</a> *&#160;</td>
          <td class="paramname"><em>capabilities</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Match codec list with specified capabilities </p>

</div>
</div>
<a class="anchor" id="a0b667049688dea09f5ddbe343f99dd28"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_lists_compare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compare two codec lists </p>

</div>
</div>
<a class="anchor" id="acd8feedd261270c77a169f1a1210f675"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_lists_intersect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmpf__codec__list__t.html">mpf_codec_list_t</a> *&#160;</td>
          <td class="paramname"><em>codec_list2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Intersect two codec lists </p>

</div>
</div>
<a class="anchor" id="a23dbae48ae42c2765ddd44f46088d470"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a>* mpf_codec_lpcm_descriptor_create </td>
          <td>(</td>
          <td class="paramtype">apr_uint16_t&#160;</td>
          <td class="paramname"><em>sampling_rate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_byte_t&#160;</td>
          <td class="paramname"><em>channel_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create linear PCM descriptor </p>

</div>
</div>
<a class="anchor" id="a568f4f4a4c2eb6135c03404228c6b484"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_codec_lpcm_descriptor_match </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__codec__descriptor__t.html">mpf_codec_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Match specified codec descriptor and the default lpcm one </p>

</div>
</div>
<a class="anchor" id="af2d4eb08164aec53b002aed55af2aa4d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mpf_sample_rate_mask_get </td>
          <td>(</td>
          <td class="paramtype">apr_uint16_t&#160;</td>
          <td class="paramname"><em>sampling_rate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get sampling rate mask (mpf_sample_rate_e) by integer value </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
